package util;

import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;

import app.AppGlobals;

public class DeckListItemListener implements ItemListener {

	@Override
	public void itemStateChanged(ItemEvent event) {
		if (event.getStateChange() == ItemEvent.SELECTED) {
			Object item = event.getItem();
			AppGlobals.launcherConfig.defaultDeck = item.toString();
			System.out.println(item.toString());
		}
	}  

}
